import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import './style/base.scss'
import App from './App.jsx'
import * as React from 'react'
import * as ReactDOM from 'react-dom'

document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 * 100 + 'px';
window.addEventListener('resize', () => {
  document.documentElement.style.fontSize = document.documentElement.clientWidth / 375 * 100 + 'px';
});

import '@nutui/nutui-react/dist/style.css'
createRoot(document.getElementById('root')).render(
  <StrictMode>
    <App />
  </StrictMode>,
)
